<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="js/tools.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var a = new tools()
			function full () {
				var d2 = document.getElementById("d2");
				a.fullScreen(d2);
			}
			function exit () {
				a.exitScreen();
			}
		</script>
		<style type="text/css">
			.d2{
				height: 100%;
				width: 100%;
				background-color: rgba(255,255,0,1);
			}
		</style>
	</head>
	<body>
		<div id="d1">
			<input type="button" onclick="full()" name="" id="" value="全屏" />
		</div>
		<div id="d2" class="d2">
			<div class="d2">
				<input type="button" onclick="exit()" name="" id="" value="退出" />
			</div>
		</div>
	</body>
</html>
